<?php
Route::group(['namespace' => 'Mini'], function () {
	
	Route::get ('/inspire','InspireController@index')->name('admin.inspire.InspireController');//首页
	
    //登录
    Route::post('/login','LoginController@login')->name('api.login.login');//登录
    Route::post('/wxlogin','LoginController@wxlogin')->name('api.login.wxlogin');//登录
    Route::post('/GetInfo','LoginController@GetInfo')->name('api.login.GetInfo');//登录
    Route::post('/getCode','LoginController@getCode')->name('api.login.getCode');//发送验证码
    Route::post('/getQRCode','LoginController@getQRCode')->name('api.login.getQRCode');//发送验证码
    Route::post('/getRedPackage','LoginController@getRedPackage')->name('api.login.getRedPackage');//发送验证码
    Route::post('/goodspayorder', 'OrdersController@goodsPayOrder')->name('home.order.goodsPayOrder'); //订单支付
    Route::post('/setGet', 'LoginController@setGet')->name('home.login.setGet'); //订单支付
    
    //用户相关
    Route::post('/getRank','UserController@getRank')->name('api.user.getRank');//登录
    
    Route::post('/register','LoginController@register')->name('api.login.register');//注册
    Route::post('/changepwd','LoginController@changePwd')->name('api.login.changePwd');//修改密码
    Route::post('/findpwd','LoginController@findPwd')->name('api.login.findPwd');//找回密码
    Route::post('/sendmsgcode','LoginController@sendMsgCode')->name('api.login.sendMsgCode');//发送短信验证码
    //公共方法
    Route::post('/getcategorys','CommonController@getCategorys')->name('api.common.getCategorys');//获取平台分类
    Route::post('/getRewardTypes','CommonController@getRewardTypes')->name('api.common.getRewardTypes');//获取平台类别
    Route::post('/upImage','CommonController@upImage')->name('api.common.upImage');//获取平台类别
    Route::post('/getArea','CommonController@getArea')->name('api.common.getArea');//获取平台城市区域
    Route::post('/getTrades','CommonController@getTrades')->name('api.common.getTrades');//获取平台城市区域
    Route::post('/getTxRate','CommonController@getTxRate')->name('api.common.getTxRate');//提现手续费
    
    Route::post('/advs','CommonController@advs')->name('api.common.advs');//广告
    Route::post('/hotact','CommonController@hotAct')->name('api.common.hotAct');//热门活动
    Route::post('/hotgoods','CommonController@hotGoods')->name('api.common.hotGoods');//热销商品
    Route::post('/companys','CommonController@companys')->name('api.common.companys');//公司行业、类型、规模
    Route::post('/regions','CommonController@regions')->name('api.common.regions');//所有地区
    //需求
    Route::post('/demandadd','DemandController@demandAdd')->name('api.demand.demandAdd');//HR发布需求
    Route::post('/demandcate','DemandController@demandCate')->name('api.demand.demandCate');//需求分类
    Route::post('/demandscreen','DemandController@demandScreen')->name('api.demand.demandScreen');//需求筛选
    Route::post('/demandlists','DemandController@demandLists')->name('api.demand.demandLists');//需求列表
    Route::post('/demandsupplierbid','DemandController@demandSupplierBid')->name('api.demand.demandSupplierBid');//供应商投标
    Route::post('/demanduploadcontract','DemandController@demandUploadContract')->name('api.demand.demandUploadContract');//供应商上传合同
    Route::post('/demandhrevaluate','DemandController@demandHrEvaluate')->name('api.demand.demandHrEvaluate');//HR评价此需求
    Route::post('/signUpDemand','DemandController@signUpDemand')->name('api.demand.signUpDemand');//任务报名 	
    Route::post('/signsubmitDemand','DemandController@signsubmitDemand')->name('api.demand.signsubmitDemand');//提交任务
    Route::post('/getDemandInfo','DemandController@getDemandInfo')->name('api.demand.getDemandInfo');//任务详情
    Route::post('/getDemandInfoForUser','DemandController@getDemandInfoForUser')->name('api.demand.getDemandInfoForUser');//B端任务详情
    Route::post('/stopReward','DemandController@stopReward')->name('api.demand.stopReward');//B端强行终止任务
    Route::post('/getOrderdetailInfo','DemandController@getOrderdetailInfo')->name('api.demand.getOrderdetailInfo');//审核详情
    Route::post('/checkRewardStatus','DemandController@checkRewardStatus')->name('api.demand.checkRewardStatus');//审核详情
    
    //新闻
    Route::post('/newslists','NewsController@newsLists')->name('api.news.newsLists');//新闻列表
    Route::post('/newsdetails','NewsController@newsDetails')->name('api.news.newsDetails');//新闻详情

    Route::post('/newscollects','NewsController@newsCollects')->name('api.news.newsCollects');//收藏新闻
    //个人中心-公用
    Route::post('/usersignin','MyController@userSignIn')->name('api.user.userSignIn');//用户签到
    Route::post('/userindex','MyController@userIndex')->name('api.user.userInfo');//用户首页数据
    Route::post('/userfootprint','MyController@userFootprint')->name('api.user.userFootprint');//用户足迹列表
    Route::post('/getFeedBackFromMe','MyController@getFeedBackFromMe')->name('api.user.getFeedBackFromMe');//用户基本信息
    Route::post('/userinfoedit','MyController@userInfoEdit')->name('api.user.userInfoEdit');//用户基本信息修改
    Route::post('/userasset','MyController@userAsset')->name('api.user.userAsset');//用户资产信息
    Route::post('/userintegrallogs','MyController@userIntegralLogs')->name('api.user.userIntegralLogs');//用户积分记录列表
    Route::post('/userbalancelogs','MyController@userBalanceLogs')->name('api.user.userBalanceLogs');//用户余额记录列表
    Route::post('/usergetintegral','MyController@userGetIntegral')->name('api.user.userGetIntegral');//用户获取积分提示
    Route::post('/usercashout','MyController@userCashOut')->name('api.user.userCashOut');//用户提现
    Route::post('/getCashInfo','MyController@getCashInfo')->name('api.user.getCashInfo');//用户提现
    

    Route::post('/usermailslists','MyController@userMailsLists')->name('api.user.userMailsLists');//用户站内消息列表
    Route::post('/usermailsdetails','MyController@userMailsDetails')->name('api.user.userMailsDetails');//用户站内消息详情
    Route::post('/usermailsread','MyController@userMailsRead')->name('api.user.userMailsRead');//用户站内消息标记为已读
    Route::post('/usermailsdelete','MyController@userMailsDelete')->name('api.user.userMailsDelete');//用户站内消息删除
    Route::post('/userfeedbackslists','MyController@userFeedbacksLists')->name('api.user.userFeedbacksLists');//用户投诉建议列表
    Route::post('/userfeedbacksdetails','MyController@userFeedbacksDetails')->name('api.user.userFeedbacksDetails');//用户投诉建议详情
    Route::post('/userfeedbacksadd','MyController@userFeedbacksAdd')->name('api.user.userFeedbacksAdd');//用户投诉建议添加
    Route::post('/userfeedbacksdelete','MyController@userFeedbacksDelete')->name('api.user.userFeedbacksDelete');//用户投诉建议删除
    Route::post('/userchangepwd','MyController@userChangePwd')->name('api.user.userChangePwd');//用户修改密码
    Route::post('/userchangemobile','MyController@userChangeMobile')->name('api.user.userChangeMobile');//用户修改手机号
    Route::post('/userdemandlists','MyController@userDemandLists')->name('api.user.userDemandLists');//用户需求列表
    Route::post('/myDemandLists','MyController@myDemandLists')->name('api.user.myDemandLists');//用户需求列表
    Route::post('/setRead','MyController@setRead')->name('api.user.setRead');//用户活动列表
    Route::post('/getMyteamMembers','MyController@getMyteamMembers')->name('api.user.getMyteamMembers');//我的团员
    
    
    Route::any('/wechat/balancenotifyurl', 'PaymentController@balanceNotifyUrl')->name('mini.payment.balanceNotifyUrl'); //供应商余额充值微信支付回调
});

